package com.pureut.production.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.production.domain.LineWarehouse;
import com.pureut.production.domain.dto.LineWarehouseDto;
import com.pureut.production.domain.dto.WorkshopDto;
import com.pureut.production.domain.vo.LineWarehouseVo;

import java.util.List;

/**
 * @author: CM
 * @date: 2023/2/6    15:32
 */
public interface LineWarehouseService extends IService<LineWarehouse> {

    /**
     * 查询线边仓列表
     * @return
     */
    List<LineWarehouseDto> getList(LineWarehouseVo lineWarehouseVo);

    /**
     * 新增线边仓建模
     * @param lineWarehouseVo
     * @return
     */
    boolean addWarehouse(LineWarehouseVo lineWarehouseVo);

    /**
     * 线边列表查询
     * @return
     */
    List<LineWarehouseDto> getlineList(LineWarehouseVo lineWarehouseVo);

    /**
     * 线边仓查看
     * @param id
     * @return
     */
    LineWarehouseDto getView(Long id);

    /**
     * 删除仓库
     * @param id
     * @return
     */
    boolean deleteWarehouse(Long id);

    /**
     * 修改仓库
     * @param lineWarehouseVo
     * @return
     */
    boolean updateWarehouse(LineWarehouseVo lineWarehouseVo);

    /**
     * 获取车间列表
     * @return
     */
    List<WorkshopDto> getWorkshop();
}
